package com.parenting.mapper;

import com.parenting.entities.SystemResourcesDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 资源表 Mapper 接口
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-08-19
 */
public interface SystemResourcesMapper extends BaseMapper<SystemResourcesDO> {


    List<SystemResourcesDO> findMenuListByUserId(@Param("userId")String userId);



    List<String> findRoleResources(@Param("roleId") String roleId);


    List<String> findRoleUser(@Param("userId")  String userId);



    List<String> findCodeByUserId(@Param("userId")  String userId);
}
